package day08_Extends.demo02_Extends;
//继承：格式:public class 子类名 extend 父类名{}
public class Student extends person  {
    public void study(){
        System.out.println("学习");
    }
}
